﻿using System.ServiceModel;
using Model;

namespace Observer
{
    interface IMessageCallback
    {
        [OperationContract(IsOneWay = true)]
        void PalaceAdded(Palace palace);

        [OperationContract(IsOneWay = true)]
        void PalaceRemoved(Palace palace);

        [OperationContract(IsOneWay = true)]
        void PalaceActivity(PalaceActivity activity);

        [OperationContract(IsOneWay = true)]
        void PalaceBurglarAlert(InvasionAlert alert);
    }
}
